/**
 * @file      xprocess.h
 * @copyright Copyright (c) 2021, ZCW Co., Ltd. All Rights Reserved.
 * @brief     brief
 * @author    caiwang213@qq.com
 * @date      2021-05-02 00:00:05
 *
 * @note
 *  xprocess.h defines
 */
#ifndef __XPROCESS_H__
#define __XPROCESS_H__
#include "iprocess.h"

namespace log4x 
{
class process
{
public:
    static int         pid();
    static string      ppath(int pid = -1);
    static string      pname();
    static int         pids(const string& pname, vector<int>& pids, vector<string>& cmdLines);
};
}
#endif
